package io.renren.modules.jxgk.service.impl;

import io.renren.modules.jxgk.dao.CollegeInfoDao;
import io.renren.modules.jxgk.entity.CollegeInfoEntity;
import io.renren.modules.jxgk.service.CollegeInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

@Service
public class CollegeInfoServiceImpl implements CollegeInfoService {
    @Autowired
    CollegeInfoDao collegeInfoDao;
    @Override
    public List<CollegeInfoEntity> queryList(Map<String, Object> map){
        return collegeInfoDao.queryList(map);
    }
    @Override
    public int queryTotal(Map<String, Object> map){
        return  collegeInfoDao.queryTotal(map);
    }
    @Override
    public CollegeInfoEntity queryObject(String index){
        return collegeInfoDao.queryObject(index);
    }
    @Override
    public List<String>getClassByCollege(Map<String, Object> map){
        return  collegeInfoDao.getClassByCollege(map);
    }

    @Override
    public List<String> getProfessionByCollege(Map<String, Object> map) {
        return collegeInfoDao.getProfessionByCollege(map);
    }

    @Override
    public List<CollegeInfoEntity> getAllcollege() {
        return collegeInfoDao.getAllcollege();
    }

    @Override
    public List<CollegeInfoEntity> getAllStudentCollege() {
        return collegeInfoDao.getAllStudentCollege();
    }

    @Override
    public List<CollegeInfoEntity> getAllStudentCollege2() {
        return collegeInfoDao.getAllStudentCollege2();
    }

}
